﻿@model IEnumerable<DataAccess.Datatypes.Site>

<div style="padding-top:50px; padding-bottom:60px;">
    <h2 class="blue-font-title">Our list of sites</h2>
    @foreach (var item in Model) {
        <div class="span3">
            <a href="/@Html.DisplayFor(modelItem => item.Name)">
                <h4 class="blue-font">@Html.DisplayFor(modelItem => item.Name)</h4>
                <span>
                    <img style="border: 1px solid #aeaeae;" src="@Url.Action("GetImage", "Home", new { siteId = item.id })" />
                    <p style="width: 200px;">@Html.DisplayFor(modelItem => item.Description)</p>
                </span>
            </a>
        </div>
    }
</div>
